package net.ericaro.neojavagen.expressions;

/**
 * <b>SuperMethodInvocation</b> ::= "super" "." <{@link net .ericaro .neojavagen .expressions .MethodInvocationBody MethodInvocationBody}>
 * 
 * @author eric@ericaro.net
 */
public class SuperMethodInvocation extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.expressions.MethodInvocation {
	private net.ericaro.neojavagen.expressions.MethodInvocationBody methodInvocationBody;

	public SuperMethodInvocation(net.ericaro.neojavagen.expressions.MethodInvocationBody methodInvocationBody) {
		super();
		this.methodInvocationBody = methodInvocationBody;
	}

	public net.ericaro.neojavagen.expressions.MethodInvocationBody getMethodInvocationBody() {
		return methodInvocationBody;
	}

	public void setMethodInvocationBody(net.ericaro.neojavagen.expressions.MethodInvocationBody methodInvocationBody) {
		this.methodInvocationBody = methodInvocationBody;
	}

	@Override
	public java.lang.String toString() {
		return print("super", ".", methodInvocationBody);
	}
}
